<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OpenMesh: OpenMesh::Attributes Namespace Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="logo_align.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="rwth_vci_rgb.jpg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">OpenMesh
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('a01238.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#enum-members">Enumerations</a>  </div>
  <div class="headertitle">
<div class="title">OpenMesh::Attributes Namespace Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>This namespace holds per item attributes like normal/color.  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a02457.html">StatusInfo</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add status information to a base class.  <a href="a02457.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ab78a93560926cd2f9958cb028f7ea96d"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01238.html#ab78a93560926cd2f9958cb028f7ea96d">AttributeBits</a> { <br />
&#160;&#160;<a class="el" href="a01238.html#ab78a93560926cd2f9958cb028f7ea96dabf5f773fefa8a6aa2c4b56158de44b92">None</a> = 0, 
<a class="el" href="a01238.html#ab78a93560926cd2f9958cb028f7ea96da213616dd2e4d9744d863587001a77988">Normal</a> = 1, 
<a class="el" href="a01238.html#ab78a93560926cd2f9958cb028f7ea96dad51534b15e5d0f65569251f4cb3c0d0c">Color</a> = 2, 
<a class="el" href="a01238.html#ab78a93560926cd2f9958cb028f7ea96dafaaebe1808b5cce96ad4e19df471d58a">PrevHalfedge</a> = 4, 
<br />
&#160;&#160;<a class="el" href="a01238.html#ab78a93560926cd2f9958cb028f7ea96dad3e94e10c76894ebce6048b8bbb77a74">Status</a> = 8, 
<a class="el" href="a01238.html#ab78a93560926cd2f9958cb028f7ea96da361fe12954663bc16ce085e98fecce20">TexCoord1D</a> = 16, 
<a class="el" href="a01238.html#ab78a93560926cd2f9958cb028f7ea96da358ce33062ef8be1f9928f9197c29ad1">TexCoord2D</a> = 32, 
<a class="el" href="a01238.html#ab78a93560926cd2f9958cb028f7ea96da80d64ca7366a1bfa3c21dab475dc2f28">TexCoord3D</a> = 64, 
<br />
&#160;&#160;<a class="el" href="a01238.html#ab78a93560926cd2f9958cb028f7ea96da0405f2e3d62fa43d7c912d6fb78e29cd">TextureIndex</a> = 128
<br />
 }<tr class="memdesc:ab78a93560926cd2f9958cb028f7ea96d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attribute bits.  <a href="a01238.html#ab78a93560926cd2f9958cb028f7ea96d">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:ab78a93560926cd2f9958cb028f7ea96d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af600bbf2c3f55c90a2a64848f0547617"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a01238.html#af600bbf2c3f55c90a2a64848f0547617">StatusBits</a> { <br />
&#160;&#160;<a class="el" href="a01238.html#af600bbf2c3f55c90a2a64848f0547617a7c61840f7e5e9b96c2a7b7ca7e0963d5">DELETED</a> = 1, 
<a class="el" href="a01238.html#af600bbf2c3f55c90a2a64848f0547617a665a2fb27301203c9c817123a49f9215">LOCKED</a> = 2, 
<a class="el" href="a01238.html#af600bbf2c3f55c90a2a64848f0547617aae27f7a232bfb6a7dae86efc75bd48aa">SELECTED</a> = 4, 
<a class="el" href="a01238.html#af600bbf2c3f55c90a2a64848f0547617ae3c705ab0d4a6db6507b275fb7322023">HIDDEN</a> = 8, 
<br />
&#160;&#160;<a class="el" href="a01238.html#af600bbf2c3f55c90a2a64848f0547617af9b7e330ca8bb23dc9d1d82f5e16db82">FEATURE</a> = 16, 
<a class="el" href="a01238.html#af600bbf2c3f55c90a2a64848f0547617ae7e560c951fe9d11acb1f8de8af3f24a">TAGGED</a> = 32, 
<a class="el" href="a01238.html#af600bbf2c3f55c90a2a64848f0547617a6315d4086063d9c27e5235e9890a701b">TAGGED2</a> = 64, 
<a class="el" href="a01238.html#af600bbf2c3f55c90a2a64848f0547617a7ab3cc5eae1a983fe6815d01203d7047">FIXEDNONMANIFOLD</a> = 128, 
<br />
&#160;&#160;<a class="el" href="a01238.html#af600bbf2c3f55c90a2a64848f0547617ad4ba3270b74b3d36d9962cd69a972d3d">UNUSED</a> = 256
<br />
 }<tr class="memdesc:af600bbf2c3f55c90a2a64848f0547617"><td class="mdescLeft">&#160;</td><td class="mdescRight">Status bits used by the Status class.  <a href="a01238.html#af600bbf2c3f55c90a2a64848f0547617">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:af600bbf2c3f55c90a2a64848f0547617"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This namespace holds per item attributes like normal/color. </p>
<p>There are some macros provided for convenience, see <a class="el" href="a00329.html" title="This file provides some macros containing attribute usage. ">Attributes.hh</a>. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="a00329.html" title="This file provides some macros containing attribute usage. ">Attributes.hh</a> </dd></dl>
</div><h2 class="groupheader">Enumeration Type Documentation</h2>
<a id="ab78a93560926cd2f9958cb028f7ea96d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab78a93560926cd2f9958cb028f7ea96d">&#9670;&nbsp;</a></span>AttributeBits</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="a01238.html#ab78a93560926cd2f9958cb028f7ea96d">OpenMesh::Attributes::AttributeBits</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Attribute bits. </p>
<p>Use the bits to define a standard property at compile time using traits.</p>
<div class="fragment"><div class="line"><span class="keyword">struct </span><a class="code" href="a01881.html">MyTraits</a> : <span class="keyword">public</span> <a class="code" href="a02469.html">OpenMesh::DefaultTraits</a> </div><div class="line">{</div><div class="line">  <a class="code" href="a04476.html#a427ff443d5e47c76b9c45a29213e63db">VertexAttributes</a>( <a class="code" href="a01238.html#ab78a93560926cd2f9958cb028f7ea96da213616dd2e4d9744d863587001a77988">OpenMesh::Attributes::Normal</a> |</div><div class="line">                    <a class="code" href="a01238.html#ab78a93560926cd2f9958cb028f7ea96dad51534b15e5d0f65569251f4cb3c0d0c">OpenMesh::Attributes::Color</a> );</div><div class="line"></div><div class="line">  <a class="code" href="a04476.html#a75f0d731abf2489208086aac5147eefc">FaceAttributes</a>( <a class="code" href="a01238.html#ab78a93560926cd2f9958cb028f7ea96da213616dd2e4d9744d863587001a77988">OpenMesh::Attributes::Normal</a> );</div><div class="line">};</div></div><!-- fragment --><dl class="section see"><dt>See also</dt><dd><a class="el" href="a04324.html">Specifying your MyMesh</a> </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="ab78a93560926cd2f9958cb028f7ea96dabf5f773fefa8a6aa2c4b56158de44b92"></a>None&#160;</td><td class="fielddoc"><p>Clear all attribute bits. </p>
</td></tr>
<tr><td class="fieldname"><a id="ab78a93560926cd2f9958cb028f7ea96da213616dd2e4d9744d863587001a77988"></a>Normal&#160;</td><td class="fielddoc"><p>Add normals to mesh item (vertices/faces) </p>
</td></tr>
<tr><td class="fieldname"><a id="ab78a93560926cd2f9958cb028f7ea96dad51534b15e5d0f65569251f4cb3c0d0c"></a>Color&#160;</td><td class="fielddoc"><p>Add colors to mesh item (vertices/faces/edges) </p>
</td></tr>
<tr><td class="fieldname"><a id="ab78a93560926cd2f9958cb028f7ea96dafaaebe1808b5cce96ad4e19df471d58a"></a>PrevHalfedge&#160;</td><td class="fielddoc"><p>Add storage for previous halfedge (halfedges). The bit is set by default in the <a class="el" href="a02469.html" title="Base class for all traits. ">DefaultTraits</a>. </p>
</td></tr>
<tr><td class="fieldname"><a id="ab78a93560926cd2f9958cb028f7ea96dad3e94e10c76894ebce6048b8bbb77a74"></a>Status&#160;</td><td class="fielddoc"><p>Add status to mesh item (all items) </p>
</td></tr>
<tr><td class="fieldname"><a id="ab78a93560926cd2f9958cb028f7ea96da361fe12954663bc16ce085e98fecce20"></a>TexCoord1D&#160;</td><td class="fielddoc"><p>Add 1D texture coordinates (vertices, halfedges) </p>
</td></tr>
<tr><td class="fieldname"><a id="ab78a93560926cd2f9958cb028f7ea96da358ce33062ef8be1f9928f9197c29ad1"></a>TexCoord2D&#160;</td><td class="fielddoc"><p>Add 2D texture coordinates (vertices, halfedges) </p>
</td></tr>
<tr><td class="fieldname"><a id="ab78a93560926cd2f9958cb028f7ea96da80d64ca7366a1bfa3c21dab475dc2f28"></a>TexCoord3D&#160;</td><td class="fielddoc"><p>Add 3D texture coordinates (vertices, halfedges) </p>
</td></tr>
<tr><td class="fieldname"><a id="ab78a93560926cd2f9958cb028f7ea96da0405f2e3d62fa43d7c912d6fb78e29cd"></a>TextureIndex&#160;</td><td class="fielddoc"><p>Add texture index (faces) </p>
</td></tr>
</table>

</div>
</div>
<a id="af600bbf2c3f55c90a2a64848f0547617"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af600bbf2c3f55c90a2a64848f0547617">&#9670;&nbsp;</a></span>StatusBits</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="a01238.html#af600bbf2c3f55c90a2a64848f0547617">OpenMesh::Attributes::StatusBits</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Status bits used by the Status class. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="a02457.html" title="Add status information to a base class. ">OpenMesh::Attributes::StatusInfo</a> </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="af600bbf2c3f55c90a2a64848f0547617a7c61840f7e5e9b96c2a7b7ca7e0963d5"></a>DELETED&#160;</td><td class="fielddoc"><p>Item has been deleted. </p>
</td></tr>
<tr><td class="fieldname"><a id="af600bbf2c3f55c90a2a64848f0547617a665a2fb27301203c9c817123a49f9215"></a>LOCKED&#160;</td><td class="fielddoc"><p>Item is locked. </p>
</td></tr>
<tr><td class="fieldname"><a id="af600bbf2c3f55c90a2a64848f0547617aae27f7a232bfb6a7dae86efc75bd48aa"></a>SELECTED&#160;</td><td class="fielddoc"><p>Item is selected. </p>
</td></tr>
<tr><td class="fieldname"><a id="af600bbf2c3f55c90a2a64848f0547617ae3c705ab0d4a6db6507b275fb7322023"></a>HIDDEN&#160;</td><td class="fielddoc"><p>Item is hidden. </p>
</td></tr>
<tr><td class="fieldname"><a id="af600bbf2c3f55c90a2a64848f0547617af9b7e330ca8bb23dc9d1d82f5e16db82"></a>FEATURE&#160;</td><td class="fielddoc"><p>Item is a feature or belongs to a feature. </p>
</td></tr>
<tr><td class="fieldname"><a id="af600bbf2c3f55c90a2a64848f0547617ae7e560c951fe9d11acb1f8de8af3f24a"></a>TAGGED&#160;</td><td class="fielddoc"><p>Item is tagged. </p>
</td></tr>
<tr><td class="fieldname"><a id="af600bbf2c3f55c90a2a64848f0547617a6315d4086063d9c27e5235e9890a701b"></a>TAGGED2&#160;</td><td class="fielddoc"><p>Alternate bit for tagging an item. </p>
</td></tr>
<tr><td class="fieldname"><a id="af600bbf2c3f55c90a2a64848f0547617a7ab3cc5eae1a983fe6815d01203d7047"></a>FIXEDNONMANIFOLD&#160;</td><td class="fielddoc"><p>Item was non-two-manifold and had to be fixed. </p>
</td></tr>
<tr><td class="fieldname"><a id="af600bbf2c3f55c90a2a64848f0547617ad4ba3270b74b3d36d9962cd69a972d3d"></a>UNUSED&#160;</td><td class="fielddoc"><p>Unused. </p>
</td></tr>
</table>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<hr>
<address>
<small>
<a href="http://www.rwth-graphics.de" style="text-decoration:none;">
</a>
Project <b>OpenMesh</b>, 
&copy;&nbsp; Computer Graphics Group, RWTH Aachen.
Documentation generated using 
<a class="el" href="http://www.doxygen.org/index.html">
<b>doxygen</b>
</a>.
</small>
</address>
</body>
</html>
